package com.xiaozhen.common.core.domain.driver;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaozhen.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/11/15 16:35
 * @description:
 */
@Data
@TableName("parse_modbus_driver")
@ApiModel(description = "MODBUS驱动配置")
public class ParseModbusDriver extends BaseEntity {

    @TableId
    @ApiModelProperty(value = "ID")
    private Long driverId;

    @ApiModelProperty(value = "主机")
    private String host;

    @ApiModelProperty(value = "端口号")
    private Integer port;
}
